package com.ruoyi.common.enums;

/**
 * 用户状态
 *
 * @author ruoyi
 */
public enum BooleanEnum
{
    TRUE(Boolean.TRUE, "Y"), FALSE(Boolean.FALSE, "N");

    private final Boolean bool;
    private final String str;

    BooleanEnum(Boolean bool, String str)
    {
        this.bool = bool;
        this.str = str;
    }
    
    public Boolean getBool() {
        return bool;
    }
    
    public String getStr() {
        return str;
    }
}
